/**
 *
 */
package co.fitstart.payment.web.handler;

import java.util.Map;

import com.demo2do.core.BusinessException;

import co.fitstart.payment.entity.app.App;
import co.fitstart.payment.entity.channel.Channel;

/**
 * @author lute
 */
public interface RequestValidateHandler {

    /**
     * Validate incoming request parameters and throws business exception once any parameter is invalid.
     * 
     * @param app
     * @param channel
     * @param parameters
     * @throws BusinessException
     */
    public void validateRequestParameters(App app, Channel channel, Map<String, String> parameters) throws BusinessException;

}
